import request from '@/utils/request'

// 查询会议室招待列表
export function listConferencereception(query) {
  return request({
    url: '/dailyoperations/conferencereception/list',
    method: 'get',
    params: query
  })
}

// 查询会议室招待详细
export function getConferencereception(id) {
  return request({
    url: '/dailyoperations/conferencereception/' + id,
    method: 'get'
  })
}

// 新增会议室招待
export function addConferencereception(data) {
  return request({
    url: '/dailyoperations/conferencereception',
    method: 'post',
    data: data
  })
}

// 修改会议室招待
export function updateConferencereception(data) {
  return request({
    url: '/dailyoperations/conferencereception',
    method: 'put',
    data: data
  })
}

// 删除会议室招待
export function delConferencereception(id) {
  return request({
    url: '/dailyoperations/conferencereception/' + id,
    method: 'delete'
  })
}
